<template>
    <!-- 公告组 -->
    <view class="diy-notice">
        <zan-noticebar
            :leftIcon="params.icon"
            :text="params.text"
            :color="itemStyle.textColor"
            :background-color="itemStyle.background"
            :paddingTop="itemStyle.paddingTop"
            :scrollable="true"
        />
    </view>
</template>

<script>
import zanNoticebar from '../../noticebar/index';
export default {
    components: {
        zanNoticebar
    },
    data() {
        return {};
    },
    options: {},
    /**
     * 组件的属性列表
     * 用于组件自定义设置
     */
    props: {
        itemIndex: String,
        itemStyle: Object,
        params: Object
    },
    methods: {},
    created: function () {}
};
</script>
<style>
@import './notice.css';
</style>
